<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>湖州华储工业设备有限公司</title>
	<meta name="keywords" content="湖州华储工业设备有限公司" />
	<meta name="description" content="湖州华储工业设备有限公司" />
	<link href="/smq/hzhuachu/Public/Home/default/css/css.css" rel="stylesheet" type="text/css" />


	<link rel="stylesheet" href="/smq/hzhuachu/Public/Home/default/banner/css/bpHS.min.css">
	<script src="/smq/hzhuachu/Public/Home/default/banner/js/jquery.min.js"></script>
	<script src="/smq/hzhuachu/Public/Home/default/banner/js/vendors/jquery.touchSwipe.min.js"></script> <!-- optional (required for touchSwipe option) -->
	<script src="/smq/hzhuachu/Public/Home/default/banner/js/bpHS.min.js"></script>
	<script src="/smq/hzhuachu/Public/Home/default/banner/js/custom.js"></script>


	<link href="/smq/hzhuachu/Public/Home/default/banner/css/jquery.bxslider.css" rel="stylesheet" />
	<link rel="stylesheet" href="/smq/hzhuachu/Public/Home/default/banner/css/nivo-slider.css">



	<script src="/smq/hzhuachu/Public/Home/default/banner/js/jquery.nivo.slider.pack.js"></script>

	<script language="javascript" type="text/javascript">

		// Can also be used with $(document).ready()



		$(window).load(function() {
			$('#slider').nivoSlider({
				prevText: '',
				nextText: '',
				controlNav: false,
			});
		});

	</script>
	<?php
 $_flag = 0; switch ($_flag) { case 0: if (C('CFG_MOBILE_AUTO') == 1) { if (C('HTML_CACHE_ON') == true) { echo '<script type="text/javascript" src="/smq/hzhuachu/Data/static/js/mobile_auto.js"></script>'; } else { go_mobile(); } } break; case 1: go_mobile(); break; case 2: if (C('CFG_MOBILE_AUTO') == 1) { echo '<script type="text/javascript" src="/smq/hzhuachu/Data/static/js/mobile_auto.js"></script>'; } break; default: break; } ?>
</head>
<body>
<!--top -->
<div style="width:1264px;margin:0 auto;">
<div style="height:130px;">
	<!--[if IE 6]>
<script src="/smq/hzhuachu/Public/Home/default/js/DD_belatedPNG_0.0.8a-min.js" language="javascript" type="text/javascript"></script>
<script>
  DD_belatedPNG.fix('#top_logo');   /* string argument can be any CSS selector */
</script>
<![endif]-->
<script type="text/javascript">
$(function(){
	var $chkurl = "<?php echo U('Public/loginChk');?>";
	$.get($chkurl,function(data){
		//alert(data);
		if (data.status == 1) {
			$('#top_login_ok').show();
			$('#top_login_no').hide();
			//$('#top_login_ok').find('span');
			$('#top_login_ok>span').html('欢迎您，'+data.nickname);
		}else {
			$('#top_login_ok').hide();
			$('#top_login_no').show();
		}
	},'json');
});
</script>
<!--<div class="warp" id="herd">-->
	<!--<div id="top_member" style="display:none;">-->
		<!--&lt;!&ndash;<a href="<?php echo U(MODULE_NAME.'/Product/basket');?>">购物车</a>&ndash;&gt;-->
		<!--<div id="top_login_no">-->
		<!--<a href="<?php echo U(MODULE_NAME.'/Public/register');?>">会员注册</a>-->
		<!--<a href="<?php echo U(MODULE_NAME.'/Public/login');?>">会员登录</a>-->
		<!--<span>欢迎您，游客！您可以选择sdsds</span>-->
		<!--</div>-->
		<!--<div id="top_login_ok" style="display:none;">-->
		<!--<a href="<?php echo U(MODULE_NAME.'/Member/index');?>">会员中心</a>-->
		<!--<a href="<?php echo U(MODULE_NAME.'/Public/logout');?>">安全退出</a>-->
		<!--<span>欢迎您，fwef </span>-->
		<!--</div>-->

	<!--</div>-->
	<!--<div id="top_logo"><a href="http://www.hzhuachu.com/"></a></div>-->
<!--</div>-->
<div id="herds">
<table id="top">
	<tr >
		<td id="logo"><img src="./Public/Home/default/images/logo2.png"></td>
		<td id="company"><img src="./Public/Home/default/images/3.jpg" ></td>
		<th><div id="navigation" style="margin-top:50px;">
			<ul>
				<li id="column" style="width:57px;height:3px;float: left;padding:12px;line-height:4px;margin-right:5px;font-size: 14px;
				background:url(./Public/Home/default/images/6.png);">
					<a href="http://www.hzhuachu.com/" >首 页</a>
				</li>
				</li>
				<?php
 $_typeid = 0; if($_typeid == -1) $_typeid = I('cid', 0, 'intval'); $_navlist = get_category(1); if($_typeid == 0) { $_navlist = Common\Lib\Category::toLayer($_navlist); }else { $_navlist = Common\Lib\Category::toLayer($_navlist, 'child', $_typeid); } foreach($_navlist as $autoindex => $navlist): $navlist['url'] = get_url($navlist); ?><li  id="more" style="float: left;width:57px;height:3px;padding:12px;line-height:4px;margin-right:5px;font-size: 14px;
					background:url(./Public/Home/default/images/6.png)">
						<a href='<?php echo ($navlist["url"]); ?>'><?php echo ($navlist["name"]); ?></a>
						<div class="clear"></div>
					</li><?php endforeach;?>
			</ul>
		</div>
		</th>
	</tr>
</table>
</div>
</div>
<!--轮播公告-->
<div style="margin:0;">
	<!--<div id="ggao">
    <b>最新公告：</b>
    <span>
    <marquee>
      <?php
 $where = array('endtime' => array('gt',time())); if (0 > 0) { $count = M('announce')->where($where)->count(); $thisPage = new \Common\Lib\Page($count, 0); $thisPage->rollPage = 5; $thisPage->setConfig('theme'," %FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END%"); $limit = $thisPage->firstRow. ',' .$thisPage->listRows; $page = $thisPage->show(); }else { $limit = "1"; } $_announcelist = M('announce')->where($where)->order("starttime DESC")->limit($limit)->select(); if (empty($_announcelist)) { $_announcelist = array(); } foreach($_announcelist as $autoindex => $announcelist): if(0) $announcelist['title'] = str2sub($announcelist['title'], 0, 0); if(100) $announcelist['content'] = str2sub(strip_tags($announcelist['content']), 100, 0); echo ($announcelist["content"]); endforeach;?></marquee>
  </span>
</div>

-->
	<img src="./Public/Home/default/images/4.jpg" width="100%">
</div>

                               <!--首页轮播-->
<div id="banner"  style="height:350px;">
	<div id="slider" class="nivoSlider" style="width:100%;float:left;">
		<?php if(is_array($info)): $i = 0; $__LIST__ = $info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vv): $mod = ($i % 2 );++$i;?><img src="<?php echo ($vv["content"]); ?>"  style="width:100%; 	"/><?php endforeach; endif; else: echo "" ;endif; ?>

	</div>
</div>
                                 <!--公司介绍-->
<div id="introduction" style="margin-top:30px;" >
	<table >
		<tr>
			<td style="width:220px;"><h1 style="font-size:28px;">公司介绍</h1><p>Company introduction</p></td>
			<td style="width:60px"><img src="./Public/Home/default/images/7.jpg" ></td>
			<td style="width:620px"><?php
 $block = get_block("Introduction"); $block_content = ''; if ($block) { if ($block['blocktype'] == 2) { if (!0) { $block_content = '<img src="'. $block['content'] .'" />'; }else { $block_content = $block['content']; } }else { if(0) { $block_content = str2sub(strip_tags($block['content']), 0, 0); }else { $block_content = $block['content']; } } } echo $block_content; ?></td>
		</tr>
	</table>
</div>

<img src="./Public/Home/default/images/5.jpg" width="100%">

<!--文章中心-->
<div style="width: 1000px;margin-left: auto;margin-right: auto;">
	<div id="article" style=" position: relative;margin-left:auto;margin-right: auto;">
		<?php
 $_typeid = intval(0); $_type = "son"; $_temp = explode(',', "10"); $_temp[0] = $_temp[0] > 0? $_temp[0] : 10; if (isset($_temp[1]) && intval($_temp[1]) > 0) { $_limit[0] = $_temp[0]; $_limit[1] = intval($_temp[1]); }else { $_limit[0] = 0; $_limit[1] = $_temp[0]; } if($_typeid == -1) $_typeid = I('cid', 0, 'intval'); $__catlist = get_category(1); if (0) { $__catlist = Common\Lib\Category::getLevelOfModelId($__catlist, 0); } if (0 == 0) { $__catlist = Common\Lib\Category::clearPageAndLink($__catlist); } if($_typeid == 0 || $_type == 'top') { $_catlist = Common\Lib\Category::toLayer($__catlist); }else { if ($_type == 'self') { $_typeinfo = Common\Lib\Category::getSelf($__catlist, $_typeid ); $_catlist = Common\Lib\Category::toLayer($__catlist, 'child', $_typeinfo['pid']); }else { $_catlist = Common\Lib\Category::toLayer($__catlist, 'child', $_typeid); } } foreach($_catlist as $autoindex => $catlist): if($autoindex < $_limit[0]) continue; if($autoindex >= ($_limit[1]+$_limit[0])) break; $catlist['url'] = get_url($catlist); ?><!--<div  class="rbox <?php if($autoindex%2 == 0): ?>f_l <?php else: ?> f_r<?php endif; ?> <?php if($autoindex > 1): ?>mt<?php endif; ?>">-->

			<div style="float: left;width: 290px;">
				<table>
					<tr>
						<td style="width: 35px;"><img src="./Public/Home/default/images/9.png"></td>
						<td style="width: 180px;"><span id="writing" style="font-size:22px;"><?php echo ($catlist["name"]); ?> </span><br/><span style="font-size: 8px;"><?php echo ($catlist["ename"]); ?></span></td>
						<td style="width: 35px;"><a href="<?php echo ($catlist["url"]); ?>"><span id="more" style="float:right;margin-right: 15px;
		    color: white;font-size:10px;padding:10px;line-height:1px;">more</span></a></td>
					</tr>
				</table>
				<img src="./Public/Home/default/images/12.jpg" style="width: 90%;margin-left: 25px;"  >
				<div style="height:160px;overflow:hidden;">

					<?php
 $_typeid = $catlist['id']; $_keyword = ""; if($_typeid == -1) $_typeid = I('cid', 0, 'intval'); if ($_typeid>0 || substr($_typeid,0,1) == '$') { $_selfcate = Common\Lib\Category::getSelf(get_category(), $_typeid); $_tablename = strtolower($_selfcate['tablename']); $ids = Common\Lib\Category::getChildsId(get_category(), $_typeid, true); $where = array($_tablename.'.status' => 0, $_tablename .'.cid'=> array('IN',$ids)); }else { $_tablename = 'article'; $where = array($_tablename.'.status' => 0); } if ($_keyword != '') { $where[$_tablename.'.title'] = array('like','%'.$_keyword.'%'); } if (0 > 0) { $where['_string'] = $_tablename.'.flag & 0 = 0 '; } if (!empty($_tablename) && $_tablename != 'page') { if (0 > 0) { $count = D2('ArcView',"$_tablename")->where($where)->count(); $ename = I('e', '', 'htmlspecialchars,trim'); if (!empty($ename) && C('URL_ROUTER_ON') == true) { $param['p'] = I('p', 1, 'intval'); $param_action = '/'.$ename; }else { $param = array(); $param_action = ''; } $thisPage = new \Common\Lib\Page($count, 0, $param, $param_action); $thisPage->rollPage = 5; $thisPage->setConfig('theme'," %FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END%"); $limit = $thisPage->firstRow. ',' .$thisPage->listRows; $page = $thisPage->show(); }else { $limit = "10"; } $_list = D2('ArcView',"$_tablename")->nofield('content,pictureurls')->where($where)->order("id DESC")->limit($limit)->select(); if (empty($_list)) { $_list = array(); } }else { $_list = array(); } foreach($_list as $autoindex => $list): $_jumpflag = ($list['flag'] & B_JUMP) == B_JUMP? true : false; $list['url'] = get_content_url($list['id'], $list['cid'], $list['ename'], $_jumpflag, $list['jumpurl']); if(0) $list['title'] = str2sub($list['title'], 0, 0); if(0) $list['description'] = str2sub($list['description'], 0, 0); ?><div style="margin-top:10px;">
							<img style="margin-right:5px" src="./Public/Home/default/images/10.png" >

							<?php if( ($catlist["id"] == 5) ): ?><a style="vertical-align:middle; width:180px;height:20px;line-height:20px;overflow:hidden;
						 display:inline-block;" href="<?php echo U('List/index',array('id'=>$list['id'],'cid'=>$catlist['id']));?>" ><?php echo ($list["title"]); ?></a>
								<?php else: ?>
								<a style="vertical-align:middle; width:180px;height:20px;line-height:20px;overflow:hidden;
						 display:inline-block;" href="<?php echo ($list["url"]); ?>" ><?php echo ($list["title"]); ?></a><?php endif; ?>
							<span style="width: 50px;margin-left:0"><?php echo (date('Y-m-d',$list["publishtime"])); ?></span>
						</div><?php endforeach;?>
				</div>
			</div>
			<span class="line"></span><?php endforeach;?>
		<div class="clear"></div>
	</div>
</div>
<div class="clear"></div>

</div>

<!--页脚-->
<div class="foot">

	<div class="warp1 mt" id="bottom" style="font-size:14px;">
	<a href="http://www.hzhuachu.com/">湖州华储工业设备有限公司</a>版权所有
	<br />
	联系地址：湖州市吴兴区金环路158号  电话：0572-2285809<br />
	Copyright © 2016-2016 cmgd<a href="http://www.hzhus.com" target="_blank">Power by 茶马古道 	</a> 浙ICP备16017226号-1
</div>
<div style="display:none;"><script src="http://s95.cnzz.com/stat.php?id=1259313908&web_id=1259313908" language="JavaScript"></script></div>
<?php
 echo '<script type="text/javascript" src="'.U(MODULE_NAME. '/Public/online').'"></script>'; ?>

</div>
</div>

</body>
</html>